#pragma once

#include <QMainWindow>

#include "tablemodel.h"
#include "project.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_btnLoadJson_clicked();

    void on_btnSaveJson_clicked();

    void on_btnNewProject_clicked();

private:
    Ui::MainWindow *ui;
    TableModel *m_tableModel;
    Project m_currentProject;
};
